
FLAGS= -g
INCLUDE=../include/
librectangle: rectangle.o rectangle.c rectangle.h
	gcc -shared -I${INCLUDE} ${FLAGS} -o librectangle.so rectangle.o

rectangle.o: rectangle.c rectangle.h
	gcc -c rectangle.c ${FLAGS} -I${INCLUDE}

clean:
	-rm -rf librectangle.so ./*.o
